|
|
|
|
|
|
|
In the following sections, you learn the properties, methods, and events of the RDC. As you review these items, it might help to refer to the material covered in Day 3, "Visual Basic Database Objects." |
|
|
|
|
|
|
|
|
The RDC has a number of unique properties you can use to establish and manage your connection to the remote data source. Table 18.5 shows these unique properties, their types, default settings, and short descriptions of their meaning and use. |
|
|
|
|
| Table 18.5. Unique properties of the RDC. | | Property | Type | Default Setting | Description | | Connection | rdoConnection | <none> | Contains an object reference to the RDO Connection object created by the RDC. You can use this as you use the Database property of the standard data control. | | CursorDriver | Integer | rdUseIfNeeded (0) | Controls the source and behavior of the cursor manager. | | DataSourceName | String | <none> | Specifies the name of the ODBC data source you want to access. This is the RDO equivalent of the database name. | | EditMode | Integer | rdEditNone (0) | Indicates whether an edit or AddNew operation is in effect. You can use this to determine whether an Update method must be used to complete a pending action. |
|
|
|